package fr.upstlse.glre.client.espacededie.commun.depot.action;

import com.extjs.gxt.ui.client.event.BaseEvent;
import com.extjs.gxt.ui.client.event.Listener;
import com.extjs.gxt.ui.client.widget.DataList;

public abstract class AbstractViewerSelectionAction implements Listener {

	protected DataList viewer;

	public AbstractViewerSelectionAction(DataList pViewer) {
		super();
		viewer = pViewer;
	}
	
	protected abstract void action(BaseEvent be);

	public void handleEvent(BaseEvent be) {
		action(be);
	}

}
